package com.patterns.prototype.commomPrototyoe.shallowPrototype;

/**
 * Created by Xiao Yiyun on 2017/4/25.
 * 浅拷贝
 */
public class Client {
    public static void main(String[] args) {
        TClass tClass = new TClass();
        tClass.setValue("xuPP");
        TClass clone = tClass.clone();
        clone.setValue("xiaobaobei");
        System.out.println(tClass.getArrayList());
    }
}
